package gamagora.game.world.maps.game
{
	import gamagora.game.world.maps.OSMap;
	import gamagora.game.entity.*;

	public class OSMap51 extends OSMap
	{
		public function OSMap51()
		{
			super();

			var ground:OSGround = new OSGround(0, 980, 960, 100, 0, false);
			ground.setNoErosionUp([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47]);
			ground.setNoErosionDown([192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239]);
			ground.setNoErosionLeft([0, 48, 96, 144, 192]);
			ground.setNoErosionRight([47, 95, 143, 191, 239]);
			ground.erode();
			add(ground);

			ground = new OSGround(30, 910, 200, 20, 0, true);
			ground.setBorders(true, true);
			add(ground);

			ground = new OSGround(60, 920, 20, 60, 0, false);
			ground.setNoErosionDown([2]);
			ground.erode();
			add(ground);

			ground = new OSGround(180, 920, 20, 60, 0, false);
			ground.setNoErosionDown([2]);
			ground.erode();
			add(ground);

			ground = new OSGround(260, 700, 300, 280, 0, false);
			ground.setNoErosionDown([195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209]);
			ground.setNoErosionRight([44, 59, 74, 89, 104, 119, 134, 149, 164, 179, 194, 209]);
			ground.erode();
			add(ground);

			ground = new OSGround(560, 740, 400, 240, 0, false);
			ground.setNoErosionDown([220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239]);
			ground.setNoErosionLeft([0, 20, 40, 60, 80, 100, 120, 140, 160, 180, 200, 220]);
			ground.setNoErosionRight([19, 39, 59, 79, 99, 119, 139, 159, 179, 199, 219, 239]);
			ground.erode();
			add(ground);

		}
	}
}
